module components {
    //抢庄牛牛玩家头像
    export class QZNNPlayerHeadPanel extends eui.Component {
        public img_headbg: eui.Image;
        public img_head: eui.Image;
        public lab_name: eui.Label;
        public img_ready: eui.Image;
        public img_qiangzhuang: eui.Image;
        public blab_score: eui.Label;
        public img_zhuang: eui.Image;
        public goldNum: eui.BitmapLabel;

        public constructor() {
            super();
            this.skinName = "resource/ui/qznn/QZNNPlayerHeadSkin.exml"
        }

        public childrenCreated(): void {
            super.childrenCreated();
            this.lab_name.text = "";
            this.blab_score.text = "";
        }
        public setXY(id) {
            if (id == "right") {
                this.img_qiangzhuang.x = 500
            }
        }
        public init(): void {
        }
    }
}